package com.unlcn.ils.erpInterfaces.service.buss;

import com.baomidou.mybatisplus.service.IService;
import com.unlcn.ils.erpInterfaces.dao.model.Smcitymap;
import com.unlcn.ils.erpInterfaces.dao.model.Soorder;
import com.unlcn.ils.erpInterfaces.dao.model.WmsOrderLog;
import com.unlcn.ils.erpInterfaces.dao.model.bo.WmsOrderLogBo;
import com.unlcn.ils.erpInterfaces.service.util.BaseException;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-06
 */
public interface IWmsOrderLogService extends IService<WmsOrderLog> {
    /**
     * 得到新序列
     * @return
     */
    Long getNextIlineid();

    /**
     * 保存出库订单到ERP中
     * @param wmsOrderLogBo
     * @return
     */
    String saveOrderByWms(WmsOrderLogBo wmsOrderLogBo) throws BaseException;

    /**
     * 保存订单异常信息
     * @param wmsOrderLogBo
     * @param ex
     * @return
     */
    void saveOrderException(WmsOrderLogBo wmsOrderLogBo, String ex);

    /**
     * 检查数据
     * @param wmsOrderLogBo
     */
    void checkData(WmsOrderLogBo wmsOrderLogBo);
}
